package sh.wnxy.wn38.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author wn38
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Cart对象", description = "")
@NoArgsConstructor
@AllArgsConstructor
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "cart_id", type = IdType.AUTO)
    private Integer cartId;

    private Integer cartTicketid;

    private String cartUserid;

    private Integer cartNum;

    public Cart(Integer cartTicketid, String cartUserid, Integer cartNum) {
        this.cartNum = cartNum;
        this.cartTicketid = cartTicketid;
        this.cartUserid = cartUserid;
    }


}
